package com.quad.innovators.salesease.model.vo.warehouse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author : shanshan.li
 * @createTime : 2024/12/18 15:55
 * @Version : 1.0 
 */
@Schema(description = "采购单信息对象")
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SaleReturnOrderVO {

    @Schema(description = "销售退货单编码")
    private String code;

    @Schema(description = "订单编号")
    private String orderNumber;

    @Schema(description = "门店编码")
    private String shopCode;

    @Schema(description = "门店名称")
    private String shopName;

    @Schema(description = "已付总金额")
    private BigDecimal paymentAmount;

    @Schema(description = "订单状态 1 - 已报单 2 - 已备货 3 - 已签收 4 - 已审核")
    private Integer orderStatus;

    @Schema(description = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime auditTime;

    @Schema(description = "签收时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime receiveTime;

    @Schema(description = "配货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stockTime;

    @Schema(description = "配货人")
    private String stockName;

    @Schema(description = "备注信息")
    private String remark;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
